Set a Tag to a content item

{ addTagToItem }

Sets a Tag to the specified content item.

Method

/API2/content/addTagToItem

  • API Section: /API2/content
  • API Version: 2.0
  • From Release: 2018.5
  • Usage: REST API only via POST actions.
  • Usage by:
    • Enterprise Admin
  • Input Parameters

    Name

    tagUsageApiData

    Object Type

    Description

    The tag usage object used to set a tag for a given content item.

    Output Response

    Successful Result Code

    200

    Response Type

    Description of Response Type

    Generic API response object with success or failure flag and related messages.

    Notes

    The tag needs to be added to the system first using 'addTag'. Use this method to apply to a content item.

    Examples